package com.sdjzu.wanfuying.androiddesign.mvvm.bindingadapter;

import android.widget.ImageView;

import com.bumptech.glide.Glide;

import androidx.databinding.BindingAdapter;

public class GlideLoaderAdapter {
    @BindingAdapter({"glideSrc"})
    public static void glideLoad(ImageView imageView, String avatarUrl) {
        Glide.with(imageView.getContext()).load(avatarUrl).into(imageView);
    }


}
